package iserver

// IEntityProps Entity属性相关的操作
type IEntityProps interface {
	SetProp(index uint16, value interface{})
	PropDirty(index uint16)
	IsDirty(index uint16, dType int8) bool
	PropDirty2(index uint16, dType int8)
	GetProp(index uint16) interface{}
	//尝试获取属性，如果没有拿到就返回错误
	TryGetProp(index uint16) (interface{}, error)
}

// IEntityPropsSetter Entity属性相关的操作
type IEntityPropsSetter interface {
	SetPropsSetter(IEntityProps)
}
